package com.xhb.campusservices.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 用户状态
 */
@Getter
public enum StateEnum {
/*    ENABLE(0,"启用"),
    NOT_ENABLE(1,"未启用");*/
    启用(0,"启用"),
    未启用(1,"未启用");
    @EnumValue
    private Integer state;
    private String stateName;

    StateEnum(Integer state, String stateName) {
        this.state = state;
        this.stateName = stateName;
    }
}
